<?php
// 153 652
if (!defined('BASEPATH'))
    exit('No direct script access allowed');

$GLOBALS['main_menu'] = array(
    'users'=>'Users', 'files'=>'Files', 'banners'=>'Banners','pages'=>'Pages'
);

$GLOBALS['table']['users'] = array(
    'name' => array('label' => 'Fullname','class'=>'required'),
    'mail' => array('label' => 'Email','class'=>'required email'),
    'pass' => array('label' => 'Password', 'type' => 'password','class'=>'required'),
    'sex' => array('label' => 'Gender', 'class'=>'required', 'type' => 'select', 'options' => array('M'=>'Male', 'F'=>'Female'))
);
$GLOBALS['headers']['users'] = array('id'=>'ID', 'name' => 'Fullname', 'mail' => array('label'=>'Email','class'=>'shit'));
$GLOBALS['messages']['users'] = array(
    'save'=>'User Added!',
    'delete'=>'User(s) Deleted!',
    'modify'=>'User Modified'
);

$GLOBALS['table']['banners'] = array(
    'effect' => array('label'=>'Transition', 'class'=>'required' ,'type'=>'select', 'options'=>array('fade'=>'Fade', 'slide'=>'Slide')),
    'speed' => array('label'=>'Speed n mic sec', 'class'=>'required number'),
    'navigator' => array('label'=>'Navigator', 'class'=>'required' ,'type'=>'select', 'options'=>array('show'=>'Show', 'hide'=>'Hide')),
    'nav_color'=>array('label'=>'Nav Color', 'class'=>  'required'),
    'width'=>array('label'=>'Width', 'class'=>  'required number'),
    'height'=>array('label'=>'Height', 'class'=>'required number'),
    'content'=>array('label'=>'Content','type'=>'hidden')
);
$GLOBALS['headers']['banners']=array('id'=>'ID','effect'=>'Effect','width'=>'Width','height'=>'Height','speed'=>'Speed',    
    'content'=>array(
        'label'=>'Banner', 
        'class'=>'fancybox fancybox.iframe'
    ),
    'code'=>'Copy Code'
);
$GLOBALS['table']['files'] = array(
    'title' => array('label' => 'Title'),
    'href' => array('label' => 'Href', 'class'=>''),
    'location'=>array('label'=>'Image','type'=>'file')
);
$GLOBALS['headers']['files'] = array(
    'id'=>'ID',
    'title'=>array('label'=>'Title', 'style'=>'width:20%;'),
    'location'=>array('label'=>'Image','class'=>'picture-col center')
);
$GLOBALS['table']['pages']=array(
    'title'=>array('label'=>'Title', 'class'=>'required'),
    'content'=>array('label'=>'Label','type'=>'textarea', 'class'=>'ckeditor',)
);
$GLOBALS['headers']['pages'] = array(
    'id'=>'ID',
    'title'=>'Title',
    'url'=>array('label'=>'URL','class'=>'center','style'=>'width:35%;')
);